home *** CD-ROM | disk | FTP | other *** search
Text File | 1994-11-11 | 1.7 KB | 81 lines | [TEXT/MPS ] |
- ;
- ; File: DeskBus.a
- ;
- ; Copyright: © 1984-1994 by Apple Computer, Inc.
- ; All rights reserved.
- ;
- ; Version: Universal Interfaces 2.0a3 ETO #16, MPW prerelease. Friday, November 11, 1994.
- ;
- ; Bugs?: If you find a problem with this file, send the file and version
- ; information (from above) and the problem description to:
- ;
- ; Internet: apple.bugs@applelink.apple.com
- ; AppleLink: APPLE.BUGS
- ;
- ;
-
- IF &TYPE('__DESKBUS__') = 'UNDEFINED' THEN
- __DESKBUS__ SET 1
-
-
- IF &TYPE('__TYPES__') = 'UNDEFINED' THEN
- include 'Types.a'
- ENDIF
- ; include 'ConditionalMacros.a' ;
-
- IF &TYPE('__MIXEDMODE__') = 'UNDEFINED' THEN
- include 'MixedMode.a'
- ENDIF
- ADBOpBlock RECORD 0
- dataBuffPtr ds.l 1 ; address of data buffer
- opServiceRtPtr ds.l 1 ; service routine pointer
- opDataAreaPtr ds.l 1 ; optional data area address
- sizeof EQU 12
- ENDR
-
- ADBDataBlock RECORD 0
- devType ds.b 1 ; device type
- origADBAddr ds.b 1 ; original ADB Address
- dbServiceRtPtr ds.l 1 ; service routine pointer
- dbDataAreaAddr ds.l 1 ; data area address
- sizeof EQU 10
- ENDR
-
- ADBSetInfoBlock RECORD 0
- siService ds.l 1 ; service routine pointer
- siDataAreaAddr ds.l 1 ; data area address
- sizeof EQU 8
- ENDR
-
- IF GENERATING68K THEN
- _ADBReInit: OPWORD $A07B
- ELSE
- IMPORT ADBReInit
- ENDIF
-
- IF GENERATING68K THEN
- _CountADBs: OPWORD $A077
- ELSE
- IMPORT CountADBs
- ENDIF
-
- IF GENERATING68K THEN
- _GetIndADB: OPWORD $A078
- ELSE
- IMPORT GetIndADB
- ENDIF
-
- IF GENERATING68K THEN
- _GetADBInfo: OPWORD $A079
- ELSE
- IMPORT GetADBInfo
- ENDIF
-
- IF GENERATING68K THEN
- _SetADBInfo: OPWORD $A07A
- ELSE
- IMPORT SetADBInfo
- ENDIF
-
- ENDIF ; __DESKBUS__
-